import {  Deck } from "./deck";
// function printJokers(jokers: Deck) {
//   jokers.forEach((i) => {
//     console.log(i.getString());
//   });
// } 
// const cards = createDeck();
// console.log(cards);

// printJokers(cards);

const deck = new Deck();

deck.shuffle();
console.log("=====洗牌后=====");
deck.print()


const cardsPlayer = deck.dealCard()
console.log("=====发牌后=====");
console.log("=====player1=====");
cardsPlayer.player1.print()
console.log("=====player2=====");
cardsPlayer.player2.print()
console.log("=====player3=====");
cardsPlayer.player3.print()
console.log("=====player4=====");
cardsPlayer.left.print()


